<html>
<head><meta charset="utf-8"><title>VS Code woes · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html">VS Code woes</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="180866138"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VS%20Code%20woes/near/180866138" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html#180866138">(Nov 15 2019 at 19:56)</a>:</h4>
<p><a href="/user_uploads/4715/agekwm0KFETmqoJ0Au7_fXyM/pasted_image.png" target="_blank" title="pasted_image.png">pasted image</a> </p>
<div class="message_inline_image"><a href="/user_uploads/4715/agekwm0KFETmqoJ0Au7_fXyM/pasted_image.png" target="_blank" title="pasted image"><img src="/user_uploads/4715/agekwm0KFETmqoJ0Au7_fXyM/pasted_image.png"></a></div><p>ctrl+v</p>
<p><a href="/user_uploads/4715/WWXWEdnJ6Ss7qzabMQQjt3po/pasted_image.png" target="_blank" title="pasted_image.png">pasted image</a> </p>
<div class="message_inline_image"><a href="/user_uploads/4715/WWXWEdnJ6Ss7qzabMQQjt3po/pasted_image.png" target="_blank" title="pasted image"><img src="/user_uploads/4715/WWXWEdnJ6Ss7qzabMQQjt3po/pasted_image.png"></a></div><p>;-(</p>
<p>Does anybody know how to make sure that the paste always happens at the cursor position?</p>



<a name="180866198"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VS%20Code%20woes/near/180866198" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Mcnab <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html#180866198">(Nov 15 2019 at 19:56)</a>:</h4>
<p>Did you copy a whole line?</p>



<a name="180866232"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VS%20Code%20woes/near/180866232" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Mcnab <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html#180866232">(Nov 15 2019 at 19:57)</a>:</h4>
<p>I also want this answer</p>



<a name="180866259"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VS%20Code%20woes/near/180866259" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html#180866259">(Nov 15 2019 at 19:57)</a>:</h4>
<p>yup</p>



<a name="180867881"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VS%20Code%20woes/near/180867881" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html#180867881">(Nov 15 2019 at 20:18)</a>:</h4>
<p>Happens to me all the time too :(</p>



<a name="180867929"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VS%20Code%20woes/near/180867929" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Mcnab <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html#180867929">(Nov 15 2019 at 20:19)</a>:</h4>
<p>I can only find GitHub issues complaining about it not working like that for some reason</p>



<a name="180868071"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VS%20Code%20woes/near/180868071" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html#180868071">(Nov 15 2019 at 20:20)</a>:</h4>
<p><span class="user-mention" data-user-id="200146">@Daniel Mcnab</span> could you share a link? I'd <span aria-label="thumbs up" class="emoji emoji-1f44d" role="img" title="thumbs up">:thumbs_up:</span> and subscribe</p>



<a name="180868839"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VS%20Code%20woes/near/180868839" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Mcnab <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html#180868839">(Nov 15 2019 at 20:30)</a>:</h4>
<p>Well I mean the ones leading to the current behaviour...</p>



<a name="180868853"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VS%20Code%20woes/near/180868853" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Mcnab <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html#180868853">(Nov 15 2019 at 20:30)</a>:</h4>
<p>Which are closed and locked</p>



<a name="181019507"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VS%20Code%20woes/near/181019507" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Paul Faria <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html#181019507">(Nov 18 2019 at 14:25)</a>:</h4>
<p>I believe that's VS code behavior. If you select some text and copy that, it pastes just that text where the cursor is. However, if you copy on a line with nothing selected, then the entire line is pasted as a line. I.e. it starts to operate on lines and not arrays of characters.</p>



<a name="181019590"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VS%20Code%20woes/near/181019590" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Paul Faria <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html#181019590">(Nov 18 2019 at 14:26)</a>:</h4>
<p>I've gotten used to it over years of use, and find it helpful in some situations</p>



<a name="181019609"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VS%20Code%20woes/near/181019609" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Paul Faria <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html#181019609">(Nov 18 2019 at 14:26)</a>:</h4>
<p>Not sure if there's a setting to configure that behavior though</p>



<a name="181019688"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VS%20Code%20woes/near/181019688" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Paul Faria <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VS.20Code.20woes.html#181019688">(Nov 18 2019 at 14:27)</a>:</h4>
<p>Couldn't find anything in settings either with a simple search on copy nor paste.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>